#include <iostream>
#include "server.hpp"
void usage(std::string proc)
{
    std::cout<<"usage:\n\t"<<proc<<" port\n"<<std::endl;
}
int main(int argc, char *argv[])
{
    if(argc!=2)
    {
        usage(argv[0]);
        exit(USAGE_ERR);
    }
    Server_UDP::server *uServer = new Server_UDP::server();
    uServer->start();

    delete uServer;
    return 0;
}